package com.onepower.core.modules.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author kin
 * @since 2018-08-12
 */
@TableName("match_schedule_locked")
public class MatchScheduleLocked implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("match_id")
    private Integer matchId;
    @TableField("match_admin_id")
    private Integer matchAdminId;
    @TableField("match_schedule_id")
    private Integer matchScheduleId;
    @TableField("two_time")
    private Boolean twoTime;

    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMatchId() {
        return matchId;
    }

    public void setMatchId(Integer matchId) {
        this.matchId = matchId;
    }

    public Integer getMatchAdminId() {
        return matchAdminId;
    }

    public void setMatchAdminId(Integer matchAdminId) {
        this.matchAdminId = matchAdminId;
    }

    public Integer getMatchScheduleId() {
        return matchScheduleId;
    }

    public void setMatchScheduleId(Integer matchScheduleId) {
        this.matchScheduleId = matchScheduleId;
    }

    public Boolean getTwoTime() {
        return twoTime;
    }

    public void setTwoTime(Boolean twoTime) {
        this.twoTime = twoTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "MatchScheduleLocked{" +
                ", id=" + id +
                ", matchId=" + matchId +
                ", matchAdminId=" + matchAdminId +
                ", matchScheduleId=" + matchScheduleId +
                "}";
    }
}
